package com.trainingcloud.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 学生管理表
 * </p>
 *
 * @author 纸鹤
 * @since 2022-10-11
 */
@TableName("student_info")
@ApiModel(value = "StudentInfo对象", description = "学生管理表")
public class StudentInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("学生id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("学生姓名")
    private String name;

    @ApiModelProperty("学号")
    private String studentNum;

    @ApiModelProperty("性别 0-女 1-男")
    private Integer gender;

    @ApiModelProperty("关联班级id")
    private Integer relationClassId;

    @ApiModelProperty("身份证号")
    private String idcardNumber;

    @ApiModelProperty("学生电话")
    private String telephone;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("家长")
    private String parent;

    @ApiModelProperty("家长电话")
    private String parentTelephone;

    @ApiModelProperty("关联user_id")
    private Integer userId;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("学生状态 0-已删除 1-未删除")
    private Integer isDeletedt;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStudentNum() {
        return studentNum;
    }

    public void setStudentNum(String studentNum) {
        this.studentNum = studentNum;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Integer getRelationClassId() {
        return relationClassId;
    }

    public void setRelationClassId(Integer relationClassId) {
        this.relationClassId = relationClassId;
    }

    public String getIdcardNumber() {
        return idcardNumber;
    }

    public void setIdcardNumber(String idcardNumber) {
        this.idcardNumber = idcardNumber;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getParent() {
        return parent;
    }

    public void setParent(String parent) {
        this.parent = parent;
    }

    public String getParentTelephone() {
        return parentTelephone;
    }

    public void setParentTelephone(String parentTelephone) {
        this.parentTelephone = parentTelephone;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getIsDeletedt() {
        return isDeletedt;
    }

    public void setIsDeletedt(Integer isDeletedt) {
        this.isDeletedt = isDeletedt;
    }

    @Override
    public String toString() {
        return "StudentInfo{" +
        "id=" + id +
        ", name=" + name +
        ", studentNum=" + studentNum +
        ", gender=" + gender +
        ", relationClassId=" + relationClassId +
        ", idcardNumber=" + idcardNumber +
        ", telephone=" + telephone +
        ", address=" + address +
        ", parent=" + parent +
        ", parentTelephone=" + parentTelephone +
        ", userId=" + userId +
        ", updateTime=" + updateTime +
        ", createTime=" + createTime +
        ", isDeletedt=" + isDeletedt +
        "}";
    }
}
